package com.matthew.spring.spring.aop;

import java.util.ArrayList;
 
public class Order {
	private Goods goods;
	private ArrayList<Goods> goodsList;

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods){
		this.goods = goods;
		System.out.println("goodsName::"+goods.getGoodsName());
	}
	 
	public ArrayList<Goods> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(ArrayList<Goods> goodsList) {
		this.goodsList = goodsList;
	}
}
